<?php
	defined("LIB_PATH")  
    	or define("LIB_PATH", realpath(dirname(__FILE__) . '/../lib'));
    
    defined("CONF_PATH")  
    	or define("CONF_PATH", realpath(dirname(__FILE__) . '/../conf'));
    
    defined("DB_LOCATION")  
    	or define("DB_LOCATION", realpath(dirname(__FILE__) . '/../db/db')); 
    
    defined("DAO_PATH")  
    	or define("DAO_PATH", realpath(dirname(__FILE__) . '/dao')); 
    	
    defined("BEAN_PATH")  
    	or define("BEAN_PATH", realpath(dirname(__FILE__) . '/bean'));
    
    defined("HELPER_PATH")  
    	or define("HELPER_PATH", realpath(dirname(__FILE__) . '/helper'));
	
    require_once LIB_PATH . '/log4php/Logger.php';
    require_once 'Configurator.php';	
    
    $configuration = array(
    	'default' => 1
	);
 
	Logger::configure($configuration, 'Configurator');
